<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Talis Store Utils - general purpose web interface for Talis Platform stores</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="General purpose web interface for Talis Platform stores."></meta>
    <meta name="keywords" content="Talis Platform, Talis, RDF, store, web, gui"></meta>
    <?php echo $this->headLink()->appendStylesheet('/css/styles.css') ?>
    <?php echo $this->headLink()->appendStylesheet('/css/smoothness/jquery-ui-1.8.1.custom.css') ?>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
</head>
<body>

<div id="header">
    <div class="wrapper">
        <p id="appTitle">Talis Store Utils</p>
    </div>
</div>

<div id="navMenu">
    <div class="wrapper">
        <ul>
            <li><a href="<?php echo $this->url(array('controller'=>'index'), 'default', true) ?>">Home</a></li>
            <li><a href="<?php echo $this->url(array('controller'=>'jobs'), 'default', true) ?>">Job Queue</a></li>
        </ul>
    </div>
</div>

<div id="content">
    <div class="wrapper">
        <?php if (!empty($this->pageHeader)) { ?>
            <h1><?php echo $this->pageHeader; ?></h1>
        <?php } else { ?>
            <h1>(pageHeader not set)</h1>
        <?php } ?>

        <?php if (!empty($this->flashMessage)) { ?>
            <div id="message" class="<?php echo $this->flashMessageClass; ?>"><?php echo $this->flashMessage; ?></div>
        <?php } ?>

        <?php echo $this->layout()->content ?>
    </div>
</div>

<div class="clear"></div>

<div id="footer">
    <div class="wrapper">Created by <a title="Andrew Bate" href="http://www.astilla.co.uk">Andrew Bate</a>.  If you'd like to contribute then please join the <a title="StoreUtils on GoogleCode" href="http://store-utils.googlecode.com">project</a> or <a title="StoreUtils discussion group" href="http://groups.google.com/group/store-utils-dev">discussion</a>.</div>
</div>

<script type="text/javascript">
$("tr:nth-child(even)").addClass("even");
</script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
    var pageTracker = _gat._getTracker("UA-1130145-9");
    pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>